package com.ruoyi.wechat.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 商品超市对象 c_product
 * 
 * @author ruoyi
 * @date 2024-12-24
 */
public class Product extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 商品ID */
    private String productId;

    /** 营地ID */
    @Excel(name = "营地ID")
    private String campId;

    /** 商品名称 */
    @Excel(name = "商品名称")
    private String productName;

    /** 商品价格 */
    @Excel(name = "商品价格")
    private BigDecimal productPrice;

    /** 商品详情 */
    @Excel(name = "商品详情")
    private String productDetails;

    /** 商品图片 */
    @Excel(name = "商品图片")
    private String imageUrl;

    /** 审核 0：未审核 1：审核通过 2：审核拒绝 */
    @Excel(name = "审核 0：未审核 1：审核通过 2：审核拒绝")
    private String approve;

    /** 状态 1暂存 2正常 */
    @Excel(name = "状态 1暂存 2正常 ")
    private String state;

    public void setProductId(String productId) 
    {
        this.productId = productId;
    }

    public String getProductId() 
    {
        return productId;
    }
    public void setCampId(String campId) 
    {
        this.campId = campId;
    }

    public String getCampId() 
    {
        return campId;
    }
    public void setProductName(String productName) 
    {
        this.productName = productName;
    }

    public String getProductName() 
    {
        return productName;
    }
    public void setProductPrice(BigDecimal productPrice) 
    {
        this.productPrice = productPrice;
    }

    public BigDecimal getProductPrice() 
    {
        return productPrice;
    }
    public void setProductDetails(String productDetails) 
    {
        this.productDetails = productDetails;
    }

    public String getProductDetails() 
    {
        return productDetails;
    }
    public void setImageUrl(String imageUrl) 
    {
        this.imageUrl = imageUrl;
    }

    public String getImageUrl() 
    {
        return imageUrl;
    }
    public void setApprove(String approve) 
    {
        this.approve = approve;
    }

    public String getApprove() 
    {
        return approve;
    }
    public void setState(String state) 
    {
        this.state = state;
    }

    public String getState() 
    {
        return state;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("productId", getProductId())
            .append("campId", getCampId())
            .append("productName", getProductName())
            .append("productPrice", getProductPrice())
            .append("productDetails", getProductDetails())
            .append("imageUrl", getImageUrl())
            .append("approve", getApprove())
            .append("state", getState())
            .toString();
    }
}
